package com.easychat.config;

import lombok.Getter;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author: yudaxian
 * @Description: TODO
 * @DateTime: 2024/8/7 19:30
 **/
@Getter
@Component("appConfig")
public class AppConfig {

    @Value("${ws.port}")
    private Integer wsPort;

    @Value("${project.folder}")
    private String projectFolder;

    @Value("${admin.emails}")
    private String adminEmail;

}
